﻿using System;
using System.Net;
using System.Windows;
using System.Windows.Controls;
using System.Windows.Documents;
using System.Windows.Ink;
using System.Windows.Input;
using System.Windows.Media;
using System.Windows.Media.Animation;
using System.Windows.Shapes;

namespace SignalLab.BaseLibrary
{
  public class IntegerRealtimeProperty : RealtimePropertyBase
  {
    private string name;

    public int Value
    {
      get { return _IntValue; }
      set
      {
        if (_IntValue != value)
          _IntValue = value;
        RaisePropertyChanged("RealtimeValue");
        RaisePropertyChanged("FormattedValue");
      }
    }
    private int _IntValue;

    public override object RealtimeValue
    {
      get { return Value; }
    }

    public IntegerRealtimeProperty(string name) : base(name)
    {

    }

  }
}
